﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
    schema="dbo" 
    assembly="Simnova.Collaborate.ServiceContract"
    namespace="Simnova.Collaborate.ServiceContract.DataClasses" 
    >
    <class 
       name="User" 
       table="users"
       lazy="false"
     >
        <id 
           name="userId" 
           type="Int32" 
           column="userId" 
           unsaved-value="0"
           access="field">
            <generator class="identity" />
        </id>
        <property 
            name="emailAddress"
            column="emailAddress" 
            access="field"
            >
        </property>
        <property 
            name="password"
            column="password" 
            access="field"
            >
        </property>
      <property
            name="passwordSalt"
            column="passwordSalt"
            access="field"
            >
      </property>
        <property 
            name="screenName"
            column="screenName" 
            access="field"
            >
        </property>
    </class>
</hibernate-mapping>